package com.lyf.beans.lifecycle;

import com.lyf.beans.entity.Person;
import org.springframework.beans.factory.DisposableBean;
import org.springframework.beans.factory.InitializingBean;

/**
 * @AUTHOR LYF
 * @DATE 2022/5/13
 * @VERSION 1.0
 * @DESC
 */
public class PersonBean implements InitializingBean, DisposableBean {
    public PersonBean(){
        //return new Person("person",1);
    }

    @Override
    public void destroy() throws Exception {

    }

    @Override
    public void afterPropertiesSet() throws Exception {

    }
}
